package com.cz.zslu.entity;

import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.annotations.TableName;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;

/**
 * <p>
 * 历史浏览
 * </p>
 *
 * @author 森森
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@EqualsAndHashCode(callSuper = true)
@Accessors(chain = true)
@TableName("zsl_browse_history")
public class ZslBrowseHistory extends SuperEntity<ZslBrowseHistory> {

    private static final long serialVersionUID = 1L;

    /**
     * 用户id
     */
    @ApiModelProperty("用户id")
    @TableField("user_id")
    private Long userId;


    /**
     * 店铺id
     */
    @ApiModelProperty("商铺id")
    @TableField("store_id")
    private Long storeId;


    /**
     * 商品id
     */
    @ApiModelProperty("商品id")
    @TableField("commodity_id")
    private Long commodityId;

    @ApiModelProperty("商品名称")
    @TableField(exist = false)
    private String commodityname;
    @TableField(exist = false)
    @ApiModelProperty("商铺名称")
    private String storename;

    @TableField(exist = false)
    @ApiModelProperty("用户名称")
    private String username;
}
